<div class="title">
    <h2><?= lang('checkout.booking.summary') ?></h2>
</div>

<div class="search-list cart-list clearfix">

    <div class="car-box">
        <?
            $href=base_url('excursions/'.urlify::filter($excursion->title).'-'.$excursion->id);
            $filename=get_thumbnail(132, 87, $excursion->f_name)
        ?>
        <a> <img src="<?= $hosting ?>pro-gallery/<?= $excursion->g_path.'/'.$filename ?>" alt=""> </a>
        <!--<a href="<? /* =base_url('excursions/search'); */ ?>" class="change-car submit_search">Change excursion »</a>-->
        <div class="details">
            <div class="star-rating-box">
                <? //$this->load->view('rentacar/parts/rating',array('no'=>1,'score'=>round($excursion->score/2))); ?>
            </div>

            <h3><a><?= $excursion->title ?><span> <?= lang('excursion') ?></span></a></h3>

            <p><?= trim(clean_html($excursion->description)) ?></p>


            <!--CART OPTIONS - CAR-->
            <ul class="cart-options clearfix">
                <li><?= lang('days') ?>: <b>1 <?= lang('day') ?></b></li>
            </ul>
            <big><?= $booking_info->totalprice; ?>€</big>

            <h4><?= lang('checkout.information') ?></h4>
            <ul class="bonus-options">
                <?
                    $week_days=lang('week_days');

                    $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('start_day'), 'text' => $week_days[date('N',$booking_info->date) - 1].', '.date("d.m.Y", $booking_info->date)));

                    $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('pickup_info'), 'text' => clean_html_p($booking_info->pickup_location.'h')));

                    $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('guides'), 'text' => clean_html_p($excursion->guides)));
                ?>        
            </ul>

            <h4 class='capitalize'><?= lang('persons') ?></h4>
            <ul class="bonus-options">
                <?
                    if($booking_info->noadult > 0):

                        $tot_adl=$booking_info->adultprice * $booking_info->noadult;
                        $tot_adl=number_format($tot_adl, 2);

                        $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('adults'), 'text' => $booking_info->noadult.' x '.$booking_info->adultprice.' = '.$tot_adl."&euro;"));
                    endif;
                    if($booking_info->noch > 0):
                        $tot_ch=$booking_info->chprice * $booking_info->noch;
                        $tot_ch=number_format($tot_ch, 2);
                        $this->load->view('rentacar/parts/checkout_list_item_location', array('desc' => lang('children'), 'text' => $booking_info->noch.' x '.$booking_info->chprice.' = '.$tot_ch."&euro;"));
                    endif;
                ?>        
            </ul>


            <? if($excursion->addition != ""): ?>
                    <h4><?= lang('itinerary_details') ?></h4>

                    <ul class="bonus-options" id="extras_html">
                        <li><span style="width:100%"><?= clean_html_p($excursion->addition) ?></span></li>
                    </ul>

                <? endif; ?>


        </div>
    </div><!-- / Item 1 -->

    <h5 class="total"><?= lang('total') ?>: <span id="final_price"><?= $booking_info->totalprice ?>€</span></h5>

    <div class="buttons-cart">
        <!--<a href="#">Change details »</a>-->
        <input type="submit" value="<?= lang('checkout.next') ?> »" class="checkout_1_button">
    </div>

</div><!-- / Three Columns -->
<style>
    .car-box h3 a:hover {
        text-decoration: none;
    }
</style>